From e6589d4e7d2b80398a5baf37ff267640993c9114 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 13 Sep 2005 17:31:32 +0000 Subject: [PATCH] Add some docs. (#316001, Guillaume Cottenceau) 2005-09-13 Matthias Clasen * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add some docs. (#316001, Guillaume Cottenceau) --- ChangeLog | 3 +++ ChangeLog.pre-2-10 | 3 +++ gtk/gtkfilechooser.c | 15 ++++++++++++--- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5a4dccc290..aa0e6eb5fe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-09-13 Matthias Clasen + * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add some docs. + (#316001, Guillaume Cottenceau) + * gtk/gtkdnd.c (gtk_drag_set_icon_name): Fix a copy-and-paste mistake in the docs. (#315993, Guillaume Cottenceau) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 5a4dccc290..aa0e6eb5fe 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2005-09-13 Matthias Clasen + * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add some docs. + (#316001, Guillaume Cottenceau) + * gtk/gtkdnd.c (gtk_drag_set_icon_name): Fix a copy-and-paste mistake in the docs. (#315993, Guillaume Cottenceau) diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c index 6c3f36880a..005d56032e 100644 --- a/gtk/gtkfilechooser.c +++ b/gtk/gtkfilechooser.c @@ -261,12 +261,21 @@ gtk_file_chooser_class_init (gpointer g_iface) FALSE, GTK_PARAM_READWRITE)); + /** + * GtkFileChooser:do-overwrite-confirmation: + * + * Whether a file chooser in %GTK_FILE_CHOOSER_ACTION_SAVE mode + * will present an overwrite confirmation dialog if the user + * selects a file name that already exists. + * + * Since: 2.8 + */ g_object_interface_install_property (g_iface, g_param_spec_boolean ("do-overwrite-confirmation", P_("Do overwrite confirmation"), - P_("Whether a file chooser in GTK_FILE_CHOOSER_ACTION_SAVE " - "will present an overwrite confirmation dialog if the user " - "selects a file name that already exists."), + P_("Whether a file chooser in save mode" + "will present an overwrite confirmation dialog " + " if necessary."), FALSE, GTK_PARAM_READWRITE)); } -- 2.30.2